!!!
%html{:lang => "en", 'ng-app' => 'lark'}
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
    %meta{:charset => "utf-8"}/
    %title= "信息登记"
    %meta{:content => "width=device-width, initial-scale=1.0, maximum-scale=1.0", :name => "viewport"}/
    = csrf_meta_tags
    = stylesheet_link_tag 'weui-rails', media: 'all'
    = javascript_include_tag "front"
    -if File.exists?("#{Rails.root}/app/assets/javascripts/#{controller_name}.coffee") || File.exists?("#{Rails.root}/app/assets/javascripts/#{controller_name}.js")
      = javascript_include_tag controller_name
  %body
    = yield
    = render 'wechats/dialog'
    = render 'wechats/toast'
    -if flash[:notice]
      :javascript
      jyd_toast({content: "#{flash[:notice]}"})